# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: BSD-3-Clause

add_subdirectory(qapplicationstatic)
add_subdirectory(qchronotimer)
add_subdirectory(qcoreapplication)
add_subdirectory(qdeadlinetimer)
add_subdirectory(qelapsedtimer)
add_subdirectory(qmath)
add_subdirectory(qmetacontainer)
add_subdirectory(qmetaobject)
add_subdirectory(qmetaobjectbuilder)
add_subdirectory(qmetamethod)
add_subdirectory(qmetaproperty)
add_subdirectory(qmetaenum)
add_subdirectory(qsignalblocker)
add_subdirectory(qsignalmapper)
add_subdirectory(qtimer)
add_subdirectory(qtranslator)
# QTBUG-88135
if(NOT ANDROID)
    add_subdirectory(qeventdispatcher)
endif()
if(TARGET Qt::Network)
    add_subdirectory(qeventloop)
endif()
if(TARGET Qt::Gui)
    add_subdirectory(qmetatype)
    add_subdirectory(qmimedata)
    add_subdirectory(qpointer)
    add_subdirectory(qvariant)
endif()
if(TARGET Qt::Network AND NOT ANDROID AND NOT UIKIT)
    add_subdirectory(qobject)
endif()
if(QT_FEATURE_private_tests AND TARGET Qt::Network)
    add_subdirectory(qsocketnotifier)
endif()
if(WIN32)
    add_subdirectory(qwineventnotifier)
    add_subdirectory(qwinregistrykey)
endif()
if(QT_FEATURE_permissions)
    add_subdirectory(qpermission)
endif()
if(QT_FEATURE_private_tests)
    add_subdirectory(qproperty)
endif()
if(ANDROID)
    add_subdirectory(qjnienvironment)
    add_subdirectory(qjniobject)
    add_subdirectory(qjnitypes)
    add_subdirectory(qjniarray)
endif()
